#!/bin/bash

BACKUP_PATH="backup"

if [ ! -d $BACKUP_PATH ]; then
    mkdir $BACKUP_PATH
fi
file_list=".adb_completed .bashrc .git-prompt.sh .gitignore .vimrc .bash_profile .gitconfig .inputrc .vim bin"
if [ ! -d $BACKUP_PATH ]; then
    mkdir $BACKUP_PATH
fi
for file in $file_list; do
    mv ~/$file ./$BACKUP_PATH/
    ln -s "`pwd`/$file" ~/
done

git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
